Configuring Web Application Login Data Source Properties

The Web Application Login data source performs a multi-step login to a web application.

Data Package

The data package is matched to the Test through the following:

  • Application Name
  • Server URL Address
  • User Name
  • Repository

Note: FileNet IBM Content Navigator does not use the repository (objectstore) for logging into the website.

Sample Data Packet file name:

DataPackage.WebAppLogin_Doc65TaskSpace_<server URL>_<user name>_D6PREPP08.Xml

DataPackage.WebAppLogin_Doc65WebTop_<server URL>_<user name>_D6PREPP07.Xml

DataPackage.WebAppLogin_D240Client_<server URL>_<user name>_D6PREPP07.Xml

DataPackage.WebAppLogin_D241Client_<server URL>_<user name>_D6PREPP07.Xml

DataPackage.WebAppLogin_D242Client_<server URL>_<user name>_D6PREPP07.Xml

DataPackage.WebAppLogin_D2Config_<server URL>_<user name>_D6PREPP07.Xml

DataPackage.WebAppLogin_FileNetWorkplace_<server URL>_<user name>.Xml

 

This data package returns the Response Time for each step that can optionally be used in the script for Metrics. See script Documentum\WebTop65Login.aspx.

Properties

Application. The name of the application. Must match what is used by the Test.

Steps. The number of steps to perform.

Timeout. The timeout in seconds used for executing http.

ContentRepository. The data store used for this application.

URL1...N. URL used for the step.

Header1...N. Header used for the step. Note: use Ctrl + Enter for more than one header item.

PostData1...N. PostData used for step.

ExpectedResponse1...N. Expected response for the step.

Retry Count1...N. The number of retries to attempt for the step.

RetryDelaySecs1..N. The number of seconds to delay between retry attempts for this step.

 

The following variables are used to execute the steps:

<%=ContentRepository%>. The content repository defined above.

<%=ServerURL%>. The server address including http:// or https://. (Defined on the Connection tab.)

<%=UserName%>. The user name used to login. (Defined on the Connection tab.)

<%=Password%>. The password used to login. (Defined on the Connection tab.)

<%=MachineName%>. The current machine name.

Substitution Variables can also be used in the same fashion they are used in Monitors:

<%=Start%><%End%>